function minimal_submit(form) {
    // blanks out the values in any fields or address blocks that have not been altered, so we don't process them
    var detail_fields = ['position', 'direct_phone', 'direct_fax', 'email', 'mobile', 'sms'];
    var loc_fields = ['phone', 'fax', 'line1', 'line2', 'suburb', 'region', 'code', 'country'];
    var loc_types = ['work', 'home', 'other'];
    var address_unchanged;
    for (i=0; i<detail_fields.length; i++) {
        if (form.elements[detail_fields[i]]) {
            if (form.elements[detail_fields[i]].value == form.elements['old_' + detail_fields[i]].value) {
                form.elements[detail_fields[i]].value = '';
            };
        };
    };
    for (i=0; i<loc_types.length; i++) {
        address_unchanged = true;
        for (j=0; j<loc_fields.length; j++) {
            if (form.elements[loc_types[i] + '_' + loc_fields[j]]) {
                if (form.elements[loc_types[i] + '_' + loc_fields[j]].value.toLowerCase() != form.elements['old_' + loc_types[i] + '_' + loc_fields[j]].value.toLowerCase()) {
                    address_unchanged = false;
                };
            };
        };
        if (address_unchanged) {
            for (j=0; j<loc_fields.length; j++) {
                if (form.elements[loc_types[i] + '_' + loc_fields[j]]) {
                    form.elements[loc_types[i] + '_' + loc_fields[j]].value = '';
                };
            };				
        };
    };
    form.submit();
}
